package com.example.experiment_2java.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("student")
@Data
public class Student {
    @TableId("card_id")
    private String cardId;
    @TableField("student_id")
    private String studentId;
    private String password;
    @TableField("student_name")
    private String studentName;
    private String sex;
    private String telephone;
    @TableField("enroll_date")
    private String enrollDate;
    @TableField("valid_date")
    private String validDate;
    private int loss;
    private int debt;
    private int avatar;
}
